<layout name="layout"/>
<p><a href="__CONTROLLER__/index" class="uk-button uk-button-default">{$Think.lang.back}</a>
</p>


<form id="validate_form" class="uk-form" method="post" action="__CONTROLLER__/addHandle">
<div class="uk-alert">基础信息</div>
<table class="uk-table">
<tr><td width=180>Email</td><td>
<input type="text" required name="mh_email"value="{$mh_email}"/>
</td></tr>
<tr><td>{$Think.lang.pwd}</td><td>
<input type="password" required name="mh_pwd"/>
</td></tr>
<tr><td>支付密码</td><td>
<input type="password" required name="mh_paypwd"/>
</td></tr>
<tr><td>手机</td><td>
<input type="text" required name="mh_phone"  value="{$mh_phone}"/>
</td></tr>
<tr><td>服务类型</td><td>
<textarea name="mh_service" required>{$mh_service}</textarea>
</td></tr>
<tr><td>姓名</td><td>
<input type="text" required name="mh_name" value="{$mh_name}"/>
</td></tr>
<tr><td>国家</td><td>
<select name="mh_country" required>
<option value="">--</option>
<volist name=":getCountryList()" id="vo">
<option value="{$vo.countries_iso_code_2}" <eq name="vo.countries_iso_code_2" value="$mh_country">selected</eq>>{$vo.countries_name}</option>
</volist>
</select>
</td></tr>
<tr><td>州/省</td><td>
<input type="text" required name="mh_state" value="{$mh_state}"/>
</td></tr>
<tr><td>城市</td><td>
<input type="text" required name="mh_city" value="{$mh_city}"/>
</td></tr>
<tr><td>地区</td><td>
<input type="text" required name="mh_street" value="{$mh_street}"/>
</td></tr>
<tr><td>账户类型</td><td>
<label><input type="radio" name="mh_type" value="0" checked>商户</label>&nbsp;&nbsp;&nbsp;&nbsp;
<label><input type="radio" name="mh_type" value="1" >个人</label>
</td></tr>
<tr><td>是否签订合同</td><td>

 <label><input type="radio" name="mh_isagreement" value="0" checked>否</label>&nbsp;&nbsp;&nbsp;&nbsp;
 <label><input type="radio" name="mh_isagreement" value="1" >是</label>
</td></tr>
<tr><td>是否激活</td><td>

 <label><input type="radio" name="mh_isactive" value="0" checked>否</label>&nbsp;&nbsp;&nbsp;&nbsp;
 <label><input type="radio" name="mh_isactive" value="1" >是</label>
</td></tr>
<tr><td>是否支持VT</td><td>

 <label><input type="radio" name="mh_isvt" value="0" checked>否</label>&nbsp;&nbsp;&nbsp;&nbsp;
 <label><input type="radio" name="mh_isvt" value="1" >是</label>
</td></tr>
<tr><td>备注</td><td>
<textarea name="mh_remark" required>{$mh_remark}</textarea>
</td></tr>
</table>
<div class="uk-alert">交易设置</div>
<table class="uk-table">
<tr><td  width=180>交易费率</td><td>
<input type="text" required name="mh_process_rate" min="0.01" number="true" value="0.05"/>
</td></tr>
<tr><td>拒付费</td><td>
<input type="text" required name="mh_cb_fee" min="0" number="true" min="0" value="40.00"/>
</td></tr>
<tr><td>退款费</td><td>
<input type="text" required name="mh_refund_fee" number="true" min="0" value="0"/>
</td></tr>
<tr><td>失败费</td><td>
<input type="text" required name="mh_failed_fee" number="true" min="0" value="0"/>
</td></tr>
<tr><td>提现费</td><td>
<input type="text" required name="mh_withdraw_fee" number="true" min="0" value="20"/>
</td></tr>
<tr><td>保证金费率</td><td>
<input type="text" required name="mh_rolling_rate" number="true" min="0" value="0.10"/>
</td></tr>
<tr><td>保证金返还周期(天)</td><td>
<input type="text" required name="mh_rolling_days" min="0" isIntGteZero="true" value="180"/>
</td></tr>
<tr><td>最小提现额</td><td>
<input type="text" required name="mh_min_withdraw_amount" number="true" min="0" value="2000.00"/>
</td></tr>
<tr><td>最大交易额</td><td>
<input type="text" required name="mh_max_process_amount" number="true" min="0" value="5000.00"/>
</td></tr>
<tr><td>单卡日交易次数</td><td>
<input type="text" required name="mh_card_daily" integer="true" min="0" value="3"/>0表示不限制，下同
</td></tr>
<tr><td>单卡日失败次数</td><td>
<input type="text" required name="mh_card_failed_daily" isIntGteZero="true" min="0" value="3"/>
</td></tr>
<tr><td>单卡日成功次数</td><td>
<input type="text" required name="mh_card_success_daily" isIntGteZero="true" min="0" value="1"/>
</td></tr>
<tr><td>押款天数</td><td>
<input type="text" required name="mh_covered_days" isIntGteZero="true" min="0" value="15"/>
</td></tr>
<tr><td>单顾客日成功次数</td><td>
<input type="text" required name="mh_user_daily" isIntGteZero="true" min="0" value="2"/>
</td></tr>
<tr><td>汇率差</td><td>
<input type="text" required name="mh_exchange_tpl" number="true" min="0" max="0.1" value="0.02"/>
</td></tr>
<tr><td>私有汇率比</td><td>
<input type="text" required name="mh_sp_exchange" number="true" value="0"/>
</td></tr>
<tr><td>是否允许同订单号多次交易</td><td>

 <label><input type="radio" name="mh_sameid_status" value="0" checked>否</label>&nbsp;&nbsp;&nbsp;&nbsp;
 <label><input type="radio" name="mh_sameid_status" value="1"  >是</label>
</td></tr>

<tr><td>--</td><td>
<button class="uk-button uk-button-danger" type="submit">{$Think.lang.save}</button>
</td></tr>
</table>

</form>